﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Mrc.Domain.Entitity
{
    public class BaseEntity
    {
        public long Id { get; set; }

    }

    /// <summary>
    /// 添加基本类
    /// </summary>
    public class AddBaseEntity:BaseEntity
    {

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public long? CreateUserID { get; set; }

        public AddBaseEntity()
        {
            CreateTime = DateTime.Now;        
        }
    }

    /// <summary>
    /// 删除基本类
    /// </summary>
    public class DeleteBaseEntity : BaseEntity
    {

        public bool? IsDelete { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public long? DeleteUserID { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? DeleteTime { get; set; }

        public DeleteBaseEntity()
        {
            IsDelete = true;
            DeleteTime = DateTime.Now;
        }
    }
}
